package com.mad.base.objects.ships;

public enum EShipType
{

    DESTROYER(2, "Destroyer"),
    CRUISER(3, "Cruiser"),
    SUBMARINE(3, "Submarine"),
    BATTLESHIP(4, "Battleship"),
    AIRCRAFT_CARRIER(5, "Aircraft Carrier"); 
    
    private final int width = 1 ; 
    private final int length; 
    private final String name ; 
    
    public int getWidth()
    {
        return width;
    } 
    
    public int getLength()
    {
        return length;
    }

    public String getName()
    {
        return name;
    }

    EShipType(int length, String name){
        this.length = length; 
        this.name = name ; 
    }
    
}
